package echo.vo;

import java.util.List;
// 定义修改差异单类
public class ModificationDiff {
    private List<Item> originalItems;
    private List<Item> newItems;
    private List<ItemModification> modifications;


    public ModificationDiff() {
    }

    public ModificationDiff(List<Item> originalItems, List<Item> newItems, List<ItemModification> modifications) {
        this.originalItems = originalItems;
        this.newItems = newItems;
        this.modifications = modifications;
    }

    public List<Item> getOriginalItems() {
        return originalItems;
    }

    public void setOriginalItems(List<Item> originalItems) {
        this.originalItems = originalItems;
    }

    public List<Item> getNewItems() {
        return newItems;
    }

    public void setNewItems(List<Item> newItems) {
        this.newItems = newItems;
    }

    public List<ItemModification> getModifications() {
        return modifications;
    }

    public void setModifications(List<ItemModification> modifications) {
        this.modifications = modifications;
    }

    @Override
    public String toString() {
        return "ModificationDiff{" +
                "originalItems=" + originalItems +
                ", newItems=" + newItems +
                ", modifications=" + modifications +
                '}';
    }
}

